import request from "@/utils/request"

export const WarehousePageApi = (page, pageSize, warehouseAreaName, warehouseName) => request.get(`/warehouseLocal/local?page=${page}&pageSize=${pageSize}&warehouseAreaName=${warehouseAreaName}&warehouseName=${warehouseName}`)

export const DeleteApi=(id)=>request.delete(`/warehouseLocal/delete/${id}`)

export const AddApi=(data)=>request.post(`/warehouseLocal/add`,data)

export const UpdateApi=(data)=>request.put(`/warehouseLocal/update`,data)